/* 
 * File:   MasterBlock.h
 * Author: chris
 *
 * Created on February 5, 2009, 6:17 PM
 */

#ifndef _MASTERBLOCK_H
#define	_MASTERBLOCK_H

/** Defines the positions of integer information (pointers) in the master block
  *	These offsets must be multiplied by sizeof(int) before accessing byte positions
  * in the MasterBlock.
 */
class MasterBlock {
public:
    const static int FREELIST_START_BLOCK_NUMBER = 0;
    const static int FREELIST_END_BLOCK_NUMBER = 1;
    const static int FREELIST_NUMBER_BLOCKS = 2;
    const static int DIRECTORY_START_BLOCK_NUMBER = 3;
    const static int DIRECTORY_END_BLOCK_NUMBER = 4;
    const static int DIRECTORY_CURR_NUMBER_BLOCKS = 5;
    const static int DIRECTORY_CURR_NUMBER_FILES = 6;
};



#endif	/* _MASTERBLOCK_H */

